package cn.kinggm520.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Table;
import java.util.Date;

/**
 * 作者: kinggm Email:731586355@qq.com
 * 时间:  2020-07-02 23:57
 */
@Data
@ToString
@Table(name = "user")
public class User{

    private Integer id;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;

    private String userName;

    private String password;

}
